package cn.edu.zjicm.wordsnet_d.data;

import android.database.Cursor;

public class Location {
	int id;
	String name;
	
	public Location(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	public Location(Cursor c) {
		this(c.getInt(0),    c.getString(1));
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	
}
